Protecting a data processing system from attack by a vandal who uses a vulnerability scanner

ABSTRACT

Method and apparatus for protecting a data processing system such as an Internet server from attack by a vandal who uses an offensive vulnerability scanner to find an externally visible vulnerability of the data processing system. The method includes determining an externally visible vulnerability using a defensive vulnerability scanner, configuring an intrusion detection system to detect a network flow associated with the vulnerability, and blocking that flow by a firewall or a router. The apparatus includes a defensive vulnerability scanner that finds an externally visible vulnerability and provides a description of the vulnerability, an intrusion detection system that detects a network flow that satisfies the description, and a firewall or a router that blocks the flow responsive to detection of the flow by the intrusion detection system.

FIELD OF THE INVENTION

[0001] The present invention applies generally to the field of data processing security, and more particularly to method and apparatus for protecting a data processing system such as an Internet server from attack by vandals who find vulnerabilities in data processing systems by using vulnerability scanners.

BACKGROUND

[0002] As data processing activities become ever more important to our society, the reward for subverting these activities evidently grows proportionally in the mind of vandals who are both technically proficient and socially dysfunctional. Although the number of such vandals is relatively small, they do untold damage by spreading computer viruses, altering records, obliterating patiently collected databases, and so forth.

[0003] As a result, a number of useful tools have been developed to combat electronic vandalism. A recent advance by toolmakers is their development of vulnerability scanners. Vulnerability scanners probe a data processing system such as a host computer or an Internet server to uncover externally visible vulnerabilities, i.e., security vulnerabilities that can be detected and therefore exploited by someone interacting with the data processing system from the outside.

[0004] Scanners probe according to known vulnerabilities, for example those listed in the Common Vulnerabilities and Exposures list sponsored by MITRE Corporation. Known vulnerabilities may include server misconfigurations, buffer-overflow problems that make operating systems vulnerable to denial-of-service attacks, insecurities that cause operating systems to respond to vandals' prodding in ways that subtly identify the operating system's release level and thereby reveal its entire spectrum of vulnerabilities, and so forth.

[0005] When the vulnerability scanner determines that a data processing system has a particular vulnerability, the scanner reports that vulnerability to an administrator. Once so informed by the vulnerability scanner, the administrator may take preventive action, for example by installing an operating-system patch, by reconfiguring an improperly configured server, and so forth. Thus the information provided by the vulnerability scanner is invaluable in ferreting out externally visible vulnerabilities, so that they may be eliminated. Nevertheless, the data processing system continues to be at risk until the administrator actually takes the required action to eliminate the externally visible vulnerability.

[0006] Unfortunately, a vandal as well as an administrator may exploit the power of a vulnerability scanner to ferret out weakness in a data processing system. For example, the vandal may use the same scanner as that used by the administrator, identify exactly the same externally visible vulnerability as that identified by the administrator, and with benefit of this knowledge attack the data processing system on its weakest front. Because of the scanner's power to find externally visible vulnerabilities, the vandal's attack is highly likely to succeed if it is launched before the administrator acts to eliminate the vulnerability.

[0007] So, in a logical sense, tool makers and vandals play a game: an advance of one camp is countered by an advance of the other. Here, the toolmaker's legitimate advance—the vulnerability scanner—plays as well into the illegitimate hands of the vandal. Consequently, there is a need to protect a data processing system such as an Internet network server from attacks by vandals who use vulnerability scanners to identify the data processing system's externally visible vulnerabilities.

SUMMARY

[0008] The present invention protects a data processing system such as an Internet server from attack by a vandal who uses a vulnerability scanner to find the data processing system's externally visible vulnerabilities and tailors the attack to exploit these vulnerabilities.

[0009] One embodiment of the invention is a method. The inventive method includes the steps of determining an externally visible vulnerability using a vulnerability scanner, configuring an observation engine such as an intrusion detection system to detect an inbound network flow that exploits the externally visible vulnerability, and, when such a network flow is detected by the observation engine, blocking that flow by a blocker such as a firewall or a router.

[0010] Another embodiment of the invention is apparatus for protecting a data processing system such as an Internet server from attack by a vandal who uses a vulnerability scanner. The inventive apparatus includes a vulnerability scanner that finds an externally visible vulnerability of the data processing system and provides a description of the vulnerability in terms of a network flow, which may be the flow used by the vulnerability scanner to detect the vulnerability; an observation engine such as an intrusion detection system that detects an inbound network flow that satisfies the description of the vulnerability; and a blocker such as a firewall or a router that blocks the network flow that satisfies the description of the vulnerability, responsive to detection of the flow by the observation engine.

[0011] Thus the present invention uses the power of a vulnerability scanner proactively to thwart a vandal's attempt to intrude upon a data processing system, rather than limit the use of the vulnerability scanner to calling an administrator's attention to a need to install a software patch or the like. As a result, the present invention closes the vandal's window of opportunity to exploit an externally visible vulnerability before the administrator upgrades the data processing system. These and other aspects of the invention will be more fully appreciated when considered in light of the following detailed description and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0012]FIG. 1, which is a block diagram, illustrates aspects of the structure of an exemplary embodiment of the invention.

[0013]FIG. 2, which is a flowchart, illustrates aspects of the operation of an exemplary embodiment of the present invention.

DETAILED DESCRIPTION

[0014] The present invention enlists the power of a defensive vulnerability scanner to combat a vandal who himself uses an offensive vulnerability scanner to tailor a malicious attack upon a data processing system. According to the present invention, a defensive vulnerability scanner finds an externally visible vulnerability of the data processing system, and describes a network flow associated with the vulnerability to an observation engine such as an intrusion detection system. When the observation engine detects an incoming instance of the flow described by the vulnerability scanner, the observation engine instructs a blocker such as a firewall or a router to block the flow, thereby preventing the flow from reaching the protected data processing system.

[0015]FIG. 1 is a block diagram that shows aspects of the structure of an exemplary embodiment of the present invention. In FIG. 1, a vandal 100 attempts to attack a protected data processing system 110 through the Internet 120 or other communication network. The protected data processing system 110 may include an Internet web server or other data processing equipment.

[0016] In order to make his attack as effective as possible, the vandal 100 may attempt to discover weaknesses in the data processing system 110 by using his own vulnerability scanner (not shown), called here an “offensive” vulnerability scanner in recognition of its use by the vandal 100. Weaknesses found by the vandal 100 in this manner are called here “externally visible vulnerabilities.” The present invention includes no requirement, however, that the vandal 100 actually find vulnerabilities of the data processing system in this manner, and the term “externally visible vulnerabilities” includes all vulnerabilities of the data processing system 110 that could have been found in practice or in principle by the vandal 100 using an offensive vulnerability scanner. For example, the vandal 100 might have prior knowledge of a particular externally visible vulnerability, and tailor an attack accordingly, without actually probing the data processing system 110 with an offensive vulnerability scanner.

[0017] The data processing system 110 is protected from the vandal 100 by protective equipment that includes a defensive vulnerability scanner 130 (as a convenience, the descriptor “defensive” is now dropped). In general, there are two kinds of vulnerability scanners, network scanners and host scanners; the vulnerability scanner 130 may be of either kind, or may include attributes of both. An example of a network vulnerability scanner is the Cisco Secure Scanner™ of Cisco Systems, San Jose, Calif. (http://www.cisco.com); an example of a host vulnerability scanner is the Enterprise Security Manager™ of Symantec Corporation (formerly Axent), Cupertino, Calif. (http://www.symantec.com). Mention here of the Cisco and Symantec products is, of course, illustrative rather than limiting. In the future there may be application scanners also, and the present invention is intended to encompass these as well as network scanners and host scanners.

[0018] The vulnerability scanner 130 probes the data processing system 110 according to known externally visible vulnerabilities, for example vulnerabilities included in the Common Vulnerabilities and Exposures list sponsored by MITRE Corporation, looking for weakness. To do so, the vulnerability scanner 130 may draw upon a vulnerabilities database accessed through the Internet 120. Because the vulnerabilities database may be updated frequently, the vulnerability scanner 130 may have state-of-the-art knowledge.

[0019] Output from the vulnerability scanner 130 may serve as input to an observation engine 140. The observation engine 140 may be an intrusion detection system, a sniffer, a passive flow monitor, or the like. Input to the observation engine 140 describes network flows determined by the vulnerability scanner 130 to be associated with weaknesses of the data processing system 110. These flows may be a subset of the flows used by the vulnerability scanner 130 to probe the data processing system 110. For example, the vulnerability scanner 130 might report the following:

[0020] 01.02.03.04: (medium) (HTTP/8080/TCP) Server accepts the dot-dotURL “/../../../../etc/password”

[0021] This exemplary report describes a network flow associated with an externally visible vulnerability of medium importance, at destination address 01.02.03.04, using TCP protocol, port 8080, HTTP flow with a text string “/../../../../../../etc/password”. In other cases, input to the observation engine 140 may be mapped from output of the vulnerability scanner 130, according to known characteristics of the particular externally visible vulnerability, for example according to information provided by the Common Vulnerabilities and Exposures list mentioned earlier. Output of the observation engine 140 may serve as input to a blocker 150. The blocker 150 may be a firewall, a router, software executed by the data processing system 110, a load balancer, or the like. The blocker 150 may, as needed, block or filter flows from the Internet 120 that would otherwise reach the data processing system 110.

[0022]FIG. 2 is a flowchart that describes aspects of the operation of an exemplary embodiment of the present invention, and is suitable for describing aspects of the operation of the exemplary structure shown in FIG. 1. As shown in FIG. 2, the vulnerability scanner 130 scans the data processing system 110, probing for externally visible vulnerabilities (step 200). If no externally visible vulnerabilities are found, the vulnerability scanner 130 continues to probe at appropriate intervals (step 200).

[0023] Otherwise (i.e., an externally visible vulnerability is found), the vulnerability engine 130 provides, to the observation engine 140, a description of a network flow that is associated with the externally visible vulnerability (step 210). The description may be, for example, the network flow used by the vulnerability scanner 130 to reveal the externally visible vulnerability. The observation engine 140 monitors inbound network flows (i.e., flows from the Internet 120 to the data processing system 110) that are addressed to the data processing system 110, awaiting arrival of an instance of a flow that satisfies the description provided by the vulnerability scanner 130 of the network flow associated with the externally visible vulnerability (step 220). When an instance of the flow associated with the externally visible vulnerability arrives, the observation engine 140 instructs the blocker 150 to block the flow associated with the externally visible vulnerability (step 230). In response, the blocker 150 institutes the required block (step 240), thereby preventing the flow associated with the externally visible vulnerability from reaching the data processing system 110.

[0024] A determination is made by the observation engine 140 or by other logic (for example, logic in the blocker 150, or in the vulnerability scanner 130, or in the data processing system 110) whether any earlier-instituted blocks should be lifted (step 250). An earlier-instituted block may be lifted, for example, after expiration of a prescribed interval of time following the last known arrival of the blocked flow, or after an appropriate software patch or upgrade has been installed. If an earlier-instituted block should be lifted, the earlier-instituted block is lifted (step 260). Following the lifting of the earlier-instituted block (step 260), or in the case where no earlier-instituted block is ready to be lifted, the observation engine 140 continues to scan the data processing system 110, probing for externally visible vulnerabilities (step 200).

[0025] Otherwise (i.e., absent the arrival of a flow associated with an externally visible vulnerability, which in FIG. 2 is the negative logical branch that follows step 220), a determination is made whether any earlier-instituted blocks should be lifted as described above (step 250), and the method continues as described above according to the outcome of this determination.

[0026] From the foregoing description, those skilled in the art will appreciate that the present invention provides method and apparatus for protecting a data processing system, such as an Internet server, from a malicious attack launched by a vandal who uses information provided by his own offensive vulnerability scanner to optimize the attack. The foregoing description is illustrative rather than limiting, however, and the present invention is limited only by the following claims. 

We claim:
 1. A method for protecting a data processing system against attack by a vandal, the method comprising the steps of: determining, by a vulnerability scanner, an externally visible vulnerability of a data processing system; configuring an observation engine to detect a flow associated with the vulnerability; and when the observation engine detects a flow associated with the vulnerability, blocking the flow.
 2. The method of claim 1, wherein the data processing system includes an Internet server.
 3. The method of claim 1, wherein the vulnerability scanner is a network vulnerability scanner.
 4. The method of claim 1, wherein the vulnerability scanner is a host vulnerability scanner.
 5. The method of claim 1, wherein the vulnerability scanner is an application vulnerability scanner.
 6. The method of claim 1, wherein the observation engine is an intrusion detection system.
 7. The method of claim 1, wherein the step of blocking is performed by a firewall.
 8. The method of claim 1, wherein the step of blocking is performed by a router.
 9. The method of claim 1, wherein the step of blocking is performed by software executed by the data processing system.
 10. The method of claim 1, wherein the step of blocking is performed by a load balancer.
 11. A method for protecting a data processing system against attack by a vandal, the method comprising the steps of: determining, by a vulnerability scanner, an externally visible vulnerability of a data processing system; configuring an intrusion detection system to detect a flow associated with the vulnerability; and when the intrusion detection system detects a flow associated with the vulnerability, blocking, by a firewall, the flow from reaching the data processing system.
 12. A method for protecting a data processing system against attack by a vandal, the method comprising the steps of: determining, by a vulnerability scanner, an externally visible vulnerability of a data processing system; configuring an intrusion detection system to detect a flow associated with the vulnerability; and when the intrusion detection system detects a flow associated with the vulnerability, blocking, by a router, the flow from reaching the data processing system.
 13. Apparatus for protecting a data processing system against attack by a vandal, the apparatus comprising: a vulnerability scanner for determining an externally visible vulnerability of a data processing system and providing a description of a flow associated with the vulnerability; an observation engine for detecting an inbound network flow that satisfies the description provided by the vulnerability scanner; and a blocker for blocking the inbound network flow that satisfies the description provided by the vulnerability scanner, responsive to detection of the flow by the observation engine.
 14. The apparatus of claim 13, wherein the data processing system includes an Internet server.
 15. The apparatus of claim 13, wherein the vulnerability scanner is a network vulnerability scanner.
 16. The apparatus of claim 13, wherein the vulnerability scanner is a host vulnerability scanner.
 17. The apparatus of claim 13, wherein the vulnerability scanner is an application vulnerability scanner.
 18. The apparatus of claim 13, wherein the observation engine is an intrusion detection system.
 19. The apparatus of claim 13, wherein the blocker is a firewall.
 20. The apparatus of claim 13, wherein the blocker is a router.
 21. The apparatus of claim 13, wherein the blocker is a load balancer.
 22. The apparatus of claim 13, wherein the blocker is a software module executed by the data processing system.
 23. Apparatus for protecting a data processing system against attack by a vandal, the apparatus comprising: a vulnerability scanner for determining an externally visible vulnerability of a data processing system and providing a description of a flow associated with the vulnerability; an intrusion detection system for detecting an inbound network flow that satisfies the description provided by the vulnerability scanner; and a firewall for blocking the inbound network flow that satisfies the description provided by the vulnerability scanner, responsive to detection of the flow by the intrusion detection system.
 24. Apparatus for protecting a data processing system against attack by a vandal, the apparatus comprising: a vulnerability scanner for determining an externally visible vulnerability of a data processing system and providing a description of a flow associated with the vulnerability; an intrusion detection system for detecting an inbound network flow that satisfies the description provided by the vulnerability scanner; and a router for blocking the inbound network flow that satisfies the description provided by the vulnerability scanner, responsive to detection of the flow by the intrusion detection system. 